package ChainOfResponsibility;

public class OldProgrammer extends Programmer{
    @Override
    public void debug(Bug bug) {
        if(bug.getValue()>100)
        {
            throw new IllegalArgumentException();
        }
        else
            solve();

    }

    //每个人的处理方式不同 所以独立
    public void solve()
    {

    }
}
